import request from '../utils/request'

// 获取车票信息列表接口
interface Iticket{
  from:string,
  to:string,
  time:string
}
export const getTickets=(data:Iticket)=>{
  return request({
    url:"/external/v1/pear/highSpeedTicket",
    method:"post",
    data
  })
}